package com.sram.service;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.sram.entity.Photo;

public interface PhotoService {
	public void savePhoto(Photo photo);
	public void updatePhoto(Photo photo);
	public void deletePhoto(int id);
	List<Photo> findPhoto(DetachedCriteria detachedCriteria);
	public List<Photo> findByDetachedCriteriaLimit(DetachedCriteria detachedCriteria, int firstResult, int pageSize);
}
